Move Folder
AutomatR.Dropbox.Activities.MoveFolder
The "Move Folder" activity in AutomatR is part of the Dropbox activities package, designed to move an entire folder from a source path to a destination path within the user's Dropbox account. This activity streamlines folder relocation tasks in Dropbox, enhancing the efficiency of automation workflows.
Properties
Name | Description |
---|---|
Input | |
Destination Path | Specifies the path of the destination folder in Dropbox to move the entire source folder. String variables containing the destination path. |
Source Path | Specifies the path of the source folder in Dropbox to be moved. String variables containing the source folder path. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Move Folder" activity. Integer variables containing the delay duration. Example: 5 seconds i.e. 5. |
How to Use
- Drag and drop the "Move Folder" activity onto the workflow.
- Configure the properties by specifying the source path and destination path for the folder relocation.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to move the specified folder within Dropbox.
Important Notes:
- Ensure that the activity is placed within a "Dropbox Scope" activity to establish the necessary authentication scope.
- The source folder will be moved along with its contents (files and subfolders).
- Verify that the specified source folder exists; otherwise, an exception will be thrown.
- The contents of the source folder will be moved to the destination folder, and the source folder will be deleted.
Example:
Consider an example where the "Move Folder" activity is used to move a folder named "Documents" from one location to another within Dropbox:
Move Folder:
Display Name: "Move Documents Folder"
Source Path: "/Folder1/Documents"
Destination Path: "/Folder2/"
In this example, the activity moves the entire "Documents" folder from the "Folder1" directory to the "Folder2" directory within Dropbox.
Important: The contents of the "Documents" folder, including files and subfolders, will be moved to the "Folder2" directory, and the "Folder1/Documents" path will be deleted.